use diesel::Queryable;
use crate::schema::{books, collectbooks};
#[derive(Queryable)]
pub struct Book {
    pub mid: i32,
    pub title: String,
    pub context: Option<String>,
}

#[derive(Queryable)]
pub struct CollectBook {
    pub id: i32,
    pub mid: i64,
}